package net.basshista.jsshtunneling.beans;

public class TunnelBean {

    public static enum TunnelType{
	Local,
	Remote
    }
    
    private HostBean hostBean;
    private int localPort;
    private String remoteHost;
    private int remotePort;
    private TunnelType tunnelType;
    
    public TunnelBean() {
    }

    public TunnelBean(HostBean hostBean, int localPort, String remoteHost, int remotePort, TunnelType tunnelType) {
	this.hostBean = hostBean;
	this.localPort = localPort;
	this.remoteHost = remoteHost;
	this.remotePort = remotePort;
	this.tunnelType = tunnelType;
    }

    public HostBean getHostBean() {
        return hostBean;
    }

    public void setHostBean(HostBean hostBean) {
        this.hostBean = hostBean;
    }

    public int getLocalPort() {
        return localPort;
    }

    public void setLocalPort(int localPort) {
        this.localPort = localPort;
    }

    public String getRemoteHost() {
        return remoteHost;
    }

    public void setRemoteHost(String remoteHost) {
        this.remoteHost = remoteHost;
    }

    public int getRemotePort() {
        return remotePort;
    }

    public void setRemotePort(int remotePort) {
        this.remotePort = remotePort;
    }

    public TunnelType getTunnelType() {
        return tunnelType;
    }

    public void setTunnelType(TunnelType tunnelType) {
        this.tunnelType = tunnelType;
    }

}